package com.example.pingze.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
@Data
public class PoemInfo {
    @Id
    private String id;
    //古诗名
    private String title;
    //朝代
    private String dynasty;
    //作者
    @Column(name = "writer")
    private String writer;
    //主题
    private String types;
    //古诗正文
    private String content;
    //注释
    private String remark;
    //古诗翻译
    private String translations;
    //赏析
    private String appreciation;
}
